﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SalePartial.Model;
using System.Data;
using System.Data.SqlClient;

namespace SalePartial.IDAL
{
    public interface IXPNewsCateGory
    {
        int Delete(Guid CaID);

        int DeleteDynamic(string v_whereCondition);

        int Insert(XPNewsCateGoryInfo info);

        DataSet SelectAll();

        XPNewsCateGoryInfo SelectByCateGoryID(Guid CaID);

        DataSet SelectDynamic(string v_whereCondition, string v_orderByExpression);

        DataSet SelectPaged();

        SqlDataReader SelectReader(Guid CaID);

        int Update(XPNewsCateGoryInfo info);
    }
}
